package cn.hniu.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
@TableName("textposts")
public class TextPosts {
    @TableId("tp_id")
    private Integer tp_id;
    private Integer user_id;
    private Integer t_id;
    private String tp_content;
    private String tp_title;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date tp_createtime;
    private String tp_flowrate;
}
